# -*- coding: utf-8 -*-
"""
__mktime__ = '2019/4/13'
__author__ = 'Just'
__filename__ = 'secure'
"""

# 单数据库配置
SQLALCHEMY_DATABASE_URI = 'mysql+cymysql://root:Apem@15987@localhost:3306/manhua?charset=utf8'
SQLALCHEMY_TRACK_MODIFICATIONS = False

# 令牌过期时间
TOKEN_EXPIRATION = 30 * 24 * 3600

# APP密钥
SECRET_KEY = '\x88D\xf09\xf06\xa0A\xf07\xc5V\xbe\x8b\xef\xd7\xd8\xd3\xe6\x98*4'

# 微信小程序配置
WX_APPID = '************'
WX_SECRET = '**************************'
WX_LOGIN_URL = 'https://api.weixin.qq.com/sns/jscode2session?' \
               'appid={}&secret={}&js_code={}&grant_type=authorization_code'
